package com.guli.sms.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.springframework.stereotype.Service;

import java.util.Map;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.guli.common.utils.Query;

import com.guli.sms.mapper.HomeAdvMapper;
import com.guli.sms.entity.HomeAdvEntity;
import com.guli.sms.service.HomeAdvService;


@Service("homeAdvService")
public class HomeAdvServiceImpl extends ServiceImpl<HomeAdvMapper, HomeAdvEntity> implements HomeAdvService {

    @Override
    public Page<HomeAdvEntity> queryPage(Integer currentPage, Integer size, Map<String, Object> params) {

        Page<HomeAdvEntity> page = new Page<>(currentPage, size);

        return this.page(page);
    }

}